package com.mlearning.demo.service;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import org.apache.ibatis.annotations.Param;


import java.util.List;

public interface TreeService {
    int delMastered(int userid,String know);
    int addMastered(int userid,String know,long timestamp);
    int delMyKnowledge(int userid,int tree,int no);
    int addMyKnowledge(int userid,String know,int tree,int no,long timestamp);
    int updateTreeNo(int userid,  int tree);
    int updateKnowledgeNo(int userid,int tree,int no);
    String getMyTrees(int userid);
}
